[INFO] cloning repository https://github.com/IceSentry/olc_fps_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IceSentry/olc_fps_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIceSentry%2Folc_fps_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIceSentry%2Folc_fps_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d081c1194a77e3d454a925422202fe043d6f8723
[INFO] building IceSentry/olc_fps_rs against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIceSentry%2Folc_fps_rs" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/IceSentry/olc_fps_rs on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/IceSentry/olc_fps_rs
[INFO] finished tweaking git repo https://github.com/IceSentry/olc_fps_rs
[INFO] tweaked toml for git repo https://github.com/IceSentry/olc_fps_rs written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/IceSentry/olc_fps_rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b3661ea2e466bcee06dad31ddda531871e23c18b51a753fe74672880462ffe5a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b3661ea2e466bcee06dad31ddda531871e23c18b51a753fe74672880462ffe5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b3661ea2e466bcee06dad31ddda531871e23c18b51a753fe74672880462ffe5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3661ea2e466bcee06dad31ddda531871e23c18b51a753fe74672880462ffe5a", kill_on_drop: false }`
[INFO] [stdout] b3661ea2e466bcee06dad31ddda531871e23c18b51a753fe74672880462ffe5a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] a060a7136407fc68e3e878ae81693c6dfae7fc8b5e8fe505380077856cca4625
[INFO] running `Command { std: "docker" "start" "-a" "a060a7136407fc68e3e878ae81693c6dfae7fc8b5e8fe505380077856cca4625", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling glam v0.8.6
[INFO] [stderr]    Compiling olc_fps v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::{
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/main.rs:78:31
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn create_console_buffer() -> HANDLE {
[INFO] [stdout]    |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateConsoleScreenBuffer` in this scope
[INFO] [stdout]   --> src/main.rs:81:21
[INFO] [stdout]    |
[INFO] [stdout] 81 |         h_console = CreateConsoleScreenBuffer(
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope
[INFO] [stdout]   --> src/main.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             GENERIC_READ | GENERIC_WRITE,
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope
[INFO] [stdout]   --> src/main.rs:82:28
[INFO] [stdout]    |
[INFO] [stdout] 82 |             GENERIC_READ | GENERIC_WRITE,
[INFO] [stdout]    |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONSOLE_TEXTMODE_BUFFER` in this scope
[INFO] [stdout]   --> src/main.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |             CONSOLE_TEXTMODE_BUFFER,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             NULL,
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleActiveScreenBuffer` in this scope
[INFO] [stdout]   --> src/main.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         SetConsoleActiveScreenBuffer(h_console);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope
[INFO] [stdout]    --> src/main.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 |         if GetAsyncKeyState('A' as i32) != 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope
[INFO] [stdout]    --> src/main.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout] 146 |         if GetAsyncKeyState('D' as i32) != 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope
[INFO] [stdout]    --> src/main.rs:149:12
[INFO] [stdout]     |
[INFO] [stdout] 149 |         if GetAsyncKeyState('W' as i32) != 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope
[INFO] [stdout]    --> src/main.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 |         if GetAsyncKeyState('S' as i32) != 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/main.rs:250:38
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn draw_screen_to_console(h_console: HANDLE, screen: &mut Vec<u16>, bytes_written: &mut u32) {
[INFO] [stdout]     |                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteConsoleOutputCharacterW` in this scope
[INFO] [stdout]    --> src/main.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |         WriteConsoleOutputCharacterW(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope
[INFO] [stdout]    --> src/main.rs:257:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |             COORD { X: 0, Y: 0 },
[INFO] [stdout]     |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time::Instant`
[INFO] [stdout]  --> src/main.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{cmp::Ordering, ptr, time::Instant};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `olc_fps`
[INFO] [stdout]    --> src/main.rs:1:1
[INFO] [stdout]     |
[INFO] [stdout] 1   | / #![feature(slice_fill)]
[INFO] [stdout] 2   | |
[INFO] [stdout] 3   | | use std::{cmp::Ordering, ptr, time::Instant};
[INFO] [stdout] 4   | | use winapi::{
[INFO] [stdout] ...   |
[INFO] [stdout] 260 | |     }
[INFO] [stdout] 261 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `olc_fps`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "a060a7136407fc68e3e878ae81693c6dfae7fc8b5e8fe505380077856cca4625", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a060a7136407fc68e3e878ae81693c6dfae7fc8b5e8fe505380077856cca4625", kill_on_drop: false }`
[INFO] [stdout] a060a7136407fc68e3e878ae81693c6dfae7fc8b5e8fe505380077856cca4625
